home *** CD-ROM | disk | FTP | other *** search
- jshadow.edgeBuff = 88;
- jshadow.maxHeight = 250;
- jshadow.scaleShadow = function()
- {
- var _loc1_ = this;
- myScalePercent = jumper.getY() / _loc1_.maxHeight;
- myScaleFactor = 100 - myScalePercent * 50;
- _loc1_._alpha = 75 - myScalePercent * 50;
- _loc1_.changeScale(myScaleFactor);
- };
- jshadow.changeScale = function(newScale)
- {
- this._xscale = newScale;
- this._yscale = newScale;
- };
- jshadow.onEnterFrame = function()
- {
- var _loc1_ = this;
- _loc1_._x = jumper._x + _loc1_.edgeBuff;
- _loc1_.scaleShadow();
- };
-